<?php

namespace app\common\exception;

class TokenException extends \Exception
{
    protected $code = 401;
    protected $message = '其他异常';

    public function __construct($message = "", $code = 401, \Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}